home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / turbovis / tvtool17.zip / CLOCK.H < prev    next >
C/C++ Source or Header  |  1993-01-14  |  574b  |  27 lines

  1. /*---------------------------------------------------------*/
  2. /*                                                         */
  3. /*   Clock.h : Header file for clock.cpp               */
  4. /*---------------------------------------------------------*/
  5.  
  6. #if ! defined( __CLOCK_H ) && defined(Uses_TClockView)
  7. #define __CLOCK_H
  8.  
  9.  
  10. class TClockView : public TView
  11. {
  12.  
  13. public:
  14.  
  15.     TClockView( TRect& r = TRect(0, 0, 0, 0) );
  16.     virtual void draw();
  17.     virtual void update();
  18.  
  19. private:
  20.  
  21.     char lastTime[9];
  22.     char curTime[9];
  23.  
  24. };
  25.  
  26. #endif      // __CLOCK_H
  27.